Additional Steps
Open the terminal by clicking on the monitor icon at the bottom-left of the desktop. Or you can click on the “start button” (the LM logo at the bottom-left of the desktop) then, click on
Systemand scroll toTerminal Emulator.Update the Linux Ubuntu system by running the following three commands.
sudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgradeInstall essential build tools (for programming)
sudo apt-get install build-essentialInstall Vim (the ubiquitous text editor)
sudo apt-get install vimCleanup the system
sudo apt-get autoremove sudo apt-get clean sudo apt-get autocleanSet the autorun script when opening up a terminal.
We’ll first copy the default provided by the OS.
sudo cp /etc/bash.bashrc ~/.bashrcThen, we ensure that we own it (more on this later).
sudo chown $USER:$USER ~/.bashrcFinally, we’ll load it into the current terminal
source ~/.bashrc
Add the following useful aliases to the the ./bashrc file.
Open ~/.bashrc in one of the following text editors:
Vim - opens in the terminal, there is a learning curve with this one
vim ~/.bashrcNano - opens in the terminal, not a strong learning curve. The
^symbol meansctrl. So^xmeans to typectrl + xnano ~/.bashrcgedit - a GUI based text editor
gedit ~/.bashrc
The following helpful aliases can be added to the end of the file:
alias c='clear' alias h='history' alias j='jobs' alias ls='ls -CF --group-directories-first --color=auto $*' alias lss='ls -Alh $*' alias m='more' alias p='ps -ef' alias ~='cd ~'
Finally, load them into the current terminal via: source ~/.bashrc